package com.forekenow.Demo8.Exercise.E10;

public class Test {
    public static void main(String[] args) {
        Employee manager = new Manager("小明",8000,0);
        Employee clerk = new Clerk("小亮",6000,0);
        Company company = new Company();

        company.salary(clerk);
        company.salary(manager);


    }
}
